package com.example.demo.model.entity

import org.ktorm.entity.Entity
import org.ktorm.ksp.annotation.PrimaryKey
import org.ktorm.ksp.annotation.Table
import java.time.LocalDateTime
import java.time.LocalTime

@Table("app_user")
interface AppUser : Entity<AppUser>{
    @PrimaryKey
    var id:Int
    var userName : String
    var phoneNumber:String
    var userPassword:String
    var nickName : String
    var avatarUrl : String
    var lastLoginTime:LocalDateTime
    var createTime:LocalDateTime
    var updateTime:LocalDateTime
    var enableFlag : Boolean
    var delFlag:Boolean
}